package com.ruoyi.web.sso.common.vo;

import lombok.Data;

import java.util.List;

/**
 * 分页数据
 * 
 * @author ruoyi
 */
@Data
public class PageInfo
{

    /** 列表数据 */
    private List<?> list;

    private long total;

    public PageInfo(List<?> list) {
        this.list = list;
        this.total = new PageInfo(list).getTotal();
    }
}
